package com.qf.service;

import com.qf.domain.Cart;
import com.qf.domain.Order;
import com.qf.domain.OrderDetail;

import java.util.List;

public interface OrederService {
    void submitOrder(Order order, List<Cart>cartList);

    void updateState(String oid, int state);

    List<Order> find(Integer uid);

    Order findByOid(String oid);

    List<OrderDetail> findDetail(String oid);
}
